#include <iostream>
#include<stdio.h> 
#include<iomanip>
using namespace std;
int main ()
{int n;
 cout<<"Cards  Overhang"<<endl;
 while(scanf("%d",&n)!=EOF)
 {
  double  s=0;
    
  for(int i=2;i<=2*n;i=i+2)
     s=s+1.0/i;
       cout<<setw(5)<<n;
       cout<<setiosflags(ios::fixed)<<setiosflags(ios::right)<<setprecision(3);
       cout<<setw(10)<<s<<endl;
      
      }
  system("pause");
  return 0;
} 
